package com.zlx.redismessage.producer;

/**
 * @PackageName: com.goayuan.learn.mq.producer.base
 * @ClassName: BaseProducer
 * @Author: gaoYuan
 * @Date: 2022/2/24 13:08
 * @Description: BaseProducer
 */
public interface BaseProducer {
    /**
     * 生产消息推送到队列中
     * @param queue     队列
     * @param data      json字符串
     */
    void sendMsg(String queue, String data);
}
